﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using FacebookAPI.FacebookProperties;

namespace FacebookAPI.Objects
{
    [DataContract]
    public class Achievement : FacebookBaseObject
    {
        [DataMember(Name = "from", EmitDefaultValue = true, IsRequired = false)]
        public FacebookBaseObject From { get; set; }

        [DataMember(Name = "publish_time", EmitDefaultValue = true, IsRequired = false)]
        public string PublishTime { get; set; }

        [DataMember(Name = "application", EmitDefaultValue = true, IsRequired = false)]
        public FacebookBaseObject Application { get; set; }

        [DataMember(Name = "type", EmitDefaultValue = true, IsRequired = false)]
        public string Type { get; set; }

        [DataMember(Name = "no_feed_story", EmitDefaultValue = true, IsRequired = false)]
        public bool NoFeedStory { get; set; }

        [DataMember(Name = "data", EmitDefaultValue = true, IsRequired = false)]
        public object Data { get; set; }
    }
}
